<?php

include('connect.php');

$fees = mysql_query("SELECT * FROM FEES");
$transactions = mysql_query("SELECT * FROM TRANSACTIONS");

echo ('<h1>Transaction Management</h1><h2>Fees</h2>');
$swaps = array(	'FEE_CODE'	=>	'<a href="?page=transaction_edit&EDIT_FEE_CODE=VALUEMARKER">VALUEMARKER</a>');
printTable($fees, $swaps);

echo ('<h2>Transactions</h2>');
$swaps2 = array( 'TRNID' 		=>	'SKIP',
				 'TRANS_DATE'	=>	'<a href="?page=transaction_edit&EDIT_TRNID=INITMARKER">VALUEMARKER</a>');
printTable($transactions, $swaps2);


include('disconnect.php');


?>
